package example;

public class Test {
    public static Site site = new Site();
    public static Context context = new Context();

    public static void main(String[] args) throws Exception {
        // 使用第一套替代方案
        RepTempRuleSolve solver = new RepTempRuleSolve(new RepTempRuleOne());
        solver.getNewContext(site, context.toString());
        // 使用第二套
        solver = new RepTempRuleSolve(new RepTempRuleTwo());
        solver.getNewContext(site, context.toString());
        RepTempRuleOne a1 = new RepTempRuleOne("HelloaaaWorld");
    }
}